package com.zys.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
public class Teacher implements Serializable {
    private final static long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String age;
    private Integer status;

    public Teacher(Integer id, Integer status) {
        this.id = id;
        this.status = status;
    }
}
